{% extends "admin/layout.html" %}
{% block admin_body %}
  <h1>Change Password</h1>
  {% if change_failed %}
    <p class="error">The two passwords don't match or are empty.</p>
  {% elif change_successful %}
    <p class="message">Password changed successfully.</p>
  {% else %}
    <p>Enter the new password below twice</p>
  {% endif %}
  <form action="" method="post">
    <dl>
      <dt>Password</dt>
      <dd><input type="password" name="pw1"></dd>
      <dt>Repeat</dt>
      <dd><input type="password" name="pw2"></dd>
    </dl>
    <div class="actions">
      <input type="submit" value="Change">
      <input type="submit" value="Cancel" name="cancel">
    </div>
  </form>
{% endblock %}
